home *** CD-ROM | disk | FTP | other *** search
- Directs MacDOS to use the serial port[s] for Input/Output.
-
- SERIAL [inout | OFF] [/M]
-
- inout identifies the ports to be used for serial communication.
- It consists of a pair of letters (not case sensitive) which
- specify the ports to be used for input and output respectively.
- The letters can be A, B, or @. A identifies the modem port, B
- identifies the printer port, and @ indicates that no port
- should be used.
- For example:
- AA sets both input and output to port A (the modem port).
- MacDOS then sends to port A all characters displayed in
- the console window, and accepts characters from port A as
- if they had been typed on the keyboard.
- BA sets the input to port B (the printer port) and the output
- to port A (the modem port). MacDOS then sends to port A
- all characters displayed in the console window, and accepts
- characters from port B as if they had been typed on the
- keyboard.
- A@ sets the input to port A (the modem port) and disables the
- output. MacDOS then accepts characters from port A as if
- they had been typed on the keyboard but does not send any
- character to either serial port.
- Note that the console window and the keyboard remain operational
- while I/O via the serial port[s] is enabled.
- OFF disables I/O via the serial port[s].
- /M specifies that MacDOS has just to Monitor the characters read
- from the serial port instead of interpreting them as commands.
- By default, MacDOS accepts commands from the serial port.
- Without a parameter, SERIAL reports the current setting.
-
- The port is set to 9600 bps, no parity, 8 data bits, 1 stop bit, and
- hardware handshaking.
-